package cn.chencq.moudle.job.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import cn.chencq.moudle.job.entity.ScheduleJobEntity;

@Mapper
public interface ScheduleJobDao {

	/**
	 * 批量更新状态
	 */
	int updateBatch(Map<String, Object> map);

	List<ScheduleJobEntity> queryList(Map<String, Object> map);

	ScheduleJobEntity queryObject(Long jobId);

	void save(ScheduleJobEntity scheduleJob);

	void deleteBatch(Long[] jobIds);

	void update(ScheduleJobEntity scheduleJob);
}
